using System;
using System.ComponentModel;
using System.Data;
using System.Runtime.Serialization;





namespace DataAccess
{
    /// <summary>
    /// A custom serializable dataset containing SIG_PRG_ACCION_ZONAGEOGRAFICA information.
    /// </summary>
    [Serializable]
    [DesignerCategory("code")]
    public class SigPrgAccionZonaGeograficaData : DataTable
    {
        ///
        /// Constants for table and fields mapping
        ///
        public const String SIG_PRG_ACCION_ZONAGEOGRAFICA_TABLE = "SIG_PRG_ACCION_ZONAGEOGRAFICA";
        public const String PAZ_ID_FIELD = "PAZ_ID";
        public const String MET_ID_FIELD = "MET_ID";
        public const String ZON_ID_FIELD = "ZON_ID";
        public const String RES_ID_FIELD = "RES_ID";
        public const String PAZ_ESPECIFICA_FIELD = "PAZ_ESPECIFICA";
        public const String PAZ_OTROS_FIELD = "PAZ_OTROS";

        public SigPrgAccionZonaGeograficaData()
		{
			BuildDataTables();
		}


        protected SigPrgAccionZonaGeograficaData(SerializationInfo info, StreamingContext context)
		{
			//
		}

		/// <summary>
		/// 
		/// </summary>
		private void BuildDataTables()
		{
            Columns.Add(PAZ_ID_FIELD, typeof(Decimal));
            Columns.Add(MET_ID_FIELD, typeof(Decimal));
            Columns.Add(ZON_ID_FIELD, typeof(String));
            Columns.Add(RES_ID_FIELD, typeof(String));
            Columns.Add(PAZ_ESPECIFICA_FIELD, typeof(String));
            Columns.Add(PAZ_OTROS_FIELD, typeof(String));
            TableName = SIG_PRG_ACCION_ZONAGEOGRAFICA_TABLE;
		}

        /// <summary>
        /// 
        /// </summary>
        /// <param name="row"></param>
        public void Add(DataRow row)
        {
            Rows.Add(row);
        }

    }
}

